package com.zxbit.flash.network;

import com.zxbit.flash.BuildConfig;

import java.util.Locale;

public interface Urls {

//    String DEBUG_URL = "http://47.92.118.116"; // 开发环境
   // String DEBUG_URL = "http://47.92.143.84"; //测试环境
    String DEBUG_URL = "http://149.129.226.55"; // UAT
//    String DEBUG_URL = "https://www.kasgembira.com"; // 开发环境


    String RELEASE_URL = "https://www.kasgembira.com"; // 域名
//    String RELEASE_URL = "http://147.139.133.73"; // IP抓包用

    String URL = BuildConfig.DEBUG ? DEBUG_URL : RELEASE_URL;
    String BASE_URL = BuildConfig.DEBUG ? URL : RELEASE_URL;

    /**
     * 注册协议Url
     */
    String REGISTER_AGREEMENT_URL = "en".equalsIgnoreCase(Locale.getDefault().getLanguage()) ? URL + BuildConfig.agreement_url + "service/privacy-en.html" : URL + BuildConfig.agreement_url + "service/privacy-ina.html";

    /**
     * 借款协议Url
     */
    String REGISTER_CONTRACT_URL = "en".equalsIgnoreCase(Locale.getDefault().getLanguage()) ? URL + BuildConfig.agreement_url + "contract/loan-en.html" : URL + BuildConfig.agreement_url + "contract/loan-ina.html";

    /**
     * 还款指南的url
     */
    String PAY_GUIDE_URL = URL + BuildConfig.agreement_url + "repayguide/guide.html";

    /**
     * 关于我们的url
     */
    String ABOUT_US_URL = URL + "/aboutus/html";

}
